package com.github.llyb120.compiler.java;

import com.github.llyb120.logger.java.JavaLogger;

/**
 * @Author: Administrator
 * @Date: 7/27/2021 4:43 PM
 */
public abstract class BaseDynamicJavaCode {
    protected JavaLogger logger = new JavaLogger();

    public JavaLogger getLogger() {
        return logger;
    }

    public void log(String str, Object... objects){
        logger.log(str, objects);
    }

    public abstract void run() throws Exception;
}
